import { useModel } from '@umijs/max';
import { Input } from 'antd';
import React from 'react';

const { TextArea } = Input;

const JDInputPage: React.FC = () => {
  const { jdInputStr, setJdInputStr } = useModel('Resume.resumeModel');

  return (
    <TextArea
      placeholder="请输入"
      allowClear
      autoSize={{ minRows: 6, maxRows: 15 }}
      onChange={(e: any) => {
        setJdInputStr(e.target.value);
      }}
    />
  );
};

export default JDInputPage;
